mod types;

#[tokio::main]
async fn main() {
    let resp = reqwest::get("https://jsonplaceholder.typicode.com/posts/1")
        .await
        .unwrap()
        .json::<types::Post>()
        .await
        .unwrap();

    println!("{:?}", resp);
}
